package WeekTest01;

public class TestTeacharAndStudent {

	public static void main(String[] args) {
		Teacher a = new Teacher();
		a.setName("黄超杰");
		a.setAge(34);
		a.setContent("俄罗斯方块游戏");
		
		Teacher b = new Teacher("高文良",33,"高等代数");
		
		Student c = new Student("郑浩",21,"面向对象的知识");
		
		a.eat(a.getName(), a.getAge());
		a.teach(a.getName(), a.getAge(), a.getContent());
		c.eat(c.getName(), c.getAge());
		c.study(c.getName(), c.getAge(), c.getContent());
	}
}
